package com.wh.message.sms.utils;

import java.io.Serializable;


/**
 *@Description:发送短信配置
 *@Author: 杨文建
 *@Create: 2018-4-13 21:42
 **/
public class SmsConfig implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2587672509215377003L;

	/**
	 * 发送地址
	 */
	private String smsUrl;

	/**
	 * 账号
	 */
	private String account;

	/**
	 * 账号对应的登录密码
	 */
	private String password;

	/**
	 * 默认长度
	 */
	private int maxLength = 70;

	/**
	 * 短信签名
	 */
	private String autograph;

	/**
	 * 短信签名的顺序是否在前
	 */
	private boolean top = false;

	/**
	 * 短信类型
	 */
	private String smformat;
	
	/**
	 * 是否需要状态报告
	 */
	private String needstatus = "false";
	
	/**
	 * 主显号码
	 */
	private String speechPhone;

	/**
	 * 提供端口
	 */
	private String autoname;

	public String getSmsUrl() {
		return smsUrl;
	}

	public void setSmsUrl(String smsUrl) {
		this.smsUrl = smsUrl;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getMaxLength() {
		return maxLength;
	}

	public void setMaxLength(int maxLength) {
		this.maxLength = maxLength;
	}

	public String getAutograph() {
		return autograph;
	}

	public void setAutograph(String autograph) {
		this.autograph = autograph;
	}

	public String getSmformat() {
		return smformat;
	}

	public void setSmformat(String smformat) {
		this.smformat = smformat;
	}

	public String getNeedstatus() {
		return needstatus;
	}

	public void setNeedstatus(String needstatus) {
		this.needstatus = needstatus;
	}

	public boolean isTop() {
		return top;
	}

	public void setTop(boolean top) {
		this.top = top;
	}

	public String getSpeechPhone() {
		return speechPhone;
	}

	public void setSpeechPhone(String speechPhone) {
		this.speechPhone = speechPhone;
	}

	public String getAutoname() {
		return autoname;
	}

	public void setAutoname(String autoname) {
		this.autoname = autoname;
	}
}
